package tags;

import javax.faces.component.UIComponent;
import javax.faces.webapp.UIComponentELTag;


public class HistoricalMapTag extends UIComponentELTag
{
    private String eventProviderUrl = null;

    public String getComponentType()
    {
        return "uicomponents.UIHistoricalMap";
    }

    public String getRendererType()
    {
        return null;
    }

    @Override
    protected void setProperties(UIComponent component)
    {
        super.setProperties(component);

        if (eventProviderUrl != null)
            component.getAttributes().put("eventProviderUrl", eventProviderUrl);
    }

    @Override
    public void release()
    {
        super.release();
        eventProviderUrl = null;
    }

    public String getEventProviderUrl() {
        return eventProviderUrl;
    }

    public void setEventProviderUrl(String eventProviderUrl) {
        this.eventProviderUrl = eventProviderUrl;
    }
}
